package com.boot.springbootsystem.mapper;

import com.boot.springbootsystem.pojo.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> users();

    int insert(User user);

    int delete(int id);

    User findById(int id);

    User findByEmailPassword(String email, String password);

    int update(User user);
}
